package com.wswy.wzcx.ui.module.feedback

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize

class CommonFeedbackQA(
        @SerializedName("title") val question:String?=null,
        @SerializedName("content")  val answer:String?=null
)

@Parcelize
class FeedbackType(val type:Int,val name:String):Parcelable


class FeedbackModel(
        @SerializedName("id") val id:Int?=null,
        @SerializedName("type") val type:String?=null,
        @SerializedName("content") val question:String?=null,
        @SerializedName("images") val images:List<String>?=null,
        @SerializedName("createTime") val createTime:Long?=0,
        @SerializedName("updateTime") val answerTime:Long?=0,
        @SerializedName("replyStatus")  val replyStatus:Boolean?= false,
        @SerializedName("replyContent") val answerContent:String?=null,
        @SerializedName("replyImages") val replyImages:List<String>?=null
        )


open class FBaseVO(
        val time:String?,
        val content:String?,
        val images:List<String>?
)
class FQuestionVO(val type:String?,time: String?,content: String?,images: List<String>?):FBaseVO(time, content, images)

class FReplyVO(time: String?,content: String?,images: List<String>?):FBaseVO(time, content, images)